package com.googlecode.yoohoo.utils;


public class Utils {

	public static boolean equalsEvenNull(Object obj1, Object obj2) {
		if (obj1 == null) {
			return obj2 == null;
		} else {
			return obj1.equals(obj2);
		}
	}
	
	public static boolean equalsExceptNull(Object obj1, Object obj2) {
		if (obj1 == null || obj2 == null)
			return false;
		
		return obj1.equals(obj2);
	}
	
}
